//
//  Constant.m
//  NBANews
//
//  Created by Liccon Chang on 11-1-13.
//  Copyright 2011 __MyCompanyName__. All rights reserved.
//

#import "Constant.h"


@implementation Constant

+ (NSString*) getAddress:(int) type{
	if (useIndex == 0) {
		switch (type) {
			case EGamblingCompany:
				return GamblingCompanyAddress;
			case ERacesCard:
				return RacesCardAddress;
			case ERanking:
				return RankingAddress;
			case EOddsdata:
				return OddsdataAddress;
			case EIntelligence:
				return IntelligenceAddress;
			case EStatistics:
				return StatisticsAddress;
			case ETextLiveTelecast:
				return TextLiveTelecastAddress;
		}
	}
	else {
		
	}
	return nil;
}

@end
